package com.ygs.secs.model;

import java.io.Serializable;

/**
 * 学生
 */
public class Student implements Serializable {
    //学号
    private String stuid;

    //姓名
    private String realname;

    //密码
    private String password;

    //性别
    private String sex;

    //身份证号码
    private String idnumber;

    //出生日期
    private String dateofbirth;

    //头像
    private String photo;

    //电话号码
    private String phonenumber;

    //邮箱
    private String email;

    //学历
    private String education;

    //住址
    private String address;

    //毕业年份
    private String graduation;

    //婚姻状况
    private String marriagestatus;

    //班级
    private Clzaa clzaa;

    private static final long serialVersionUID = 1L;

    public String getStuid() {
        return stuid;
    }

    public void setStuid(String stuid) {
        this.stuid = stuid;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getDateofbirth() {
        return dateofbirth;
    }

    public void setDateofbirth(String dateofbirth) {
        this.dateofbirth = dateofbirth;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGraduation() {
        return graduation;
    }

    public void setGraduation(String graduation) {
        this.graduation = graduation;
    }

    public String getMarriagestatus() {
        return marriagestatus;
    }

    public void setMarriagestatus(String marriagestatus) {
        this.marriagestatus = marriagestatus;
    }

    public Clzaa getClzaa() {
        return clzaa;
    }

    public void setClzaa(Clzaa clzaa) {
        this.clzaa = clzaa;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", stuid=").append(stuid);
        sb.append(", realname=").append(realname);
        sb.append(", password=").append(password);
        sb.append(", sex=").append(sex);
        sb.append(", idnumber=").append(idnumber);
        sb.append(", dateofbirth=").append(dateofbirth);
        sb.append(", photo=").append(photo);
        sb.append(", phonenumber=").append(phonenumber);
        sb.append(", email=").append(email);
        sb.append(", education=").append(education);
        sb.append(", address=").append(address);
        sb.append(", graduation=").append(graduation);
        sb.append(", marriagestatus=").append(marriagestatus);
        sb.append(", clazzid=").append(clzaa.getClazzid());
        sb.append("]");
        return sb.toString();
    }

}